package a.f.e;

import a.c.d;
import a.c.e;
import a.c.w;
import a.c.z;
import a.d.n;
import a.f.*;
import a.i.p;

import java.util.HashMap;
import java.util.Iterator;

public abstract class a
  extends r
{
  public static final Object g = "y.layout.labeling.AbstractLabelingAlgorithm.LABEL_MODEL_DPKEY";
  private static final String h = "y.layout.labeling.ABSTRACT_LABELING_ALGORITHM_NODE_SIZE_CHECKED_DPKEY";
  private gd i = null;
  private boolean j = false;
  private boolean k = false;
  private boolean l = false;
  private boolean m = false;
  private boolean n = false;
  private boolean o = true;
  private boolean p = true;
  private boolean q = false;
  private Object r = null;
  protected boolean s = false;
  a.f.c.h t;
  z u;
  boolean v = false;
  private boolean w = false;
  private static final a.d.o[] x = { new a.d.o(15.0D, 5.0D, 30.0D, 10.0D, 1.0D, 0.0D), new a.d.o(-15.0D, -15.0D, 100.0D, 30.0D, 0.5D, 0.5D), new a.d.o(50.0D, 90.0D, 40.0D, 15.0D, 0.0D, -1.0D) };
  private static final zc y = new sb(0.0D, 0.0D, 30.0D, 30.0D);
  protected static final double z = 0.001D;
  public static int A;
  public static int B;
  
  public gd b()
  {
    return this.i;
  }
  
  public boolean c()
  {
    return this.n;
  }
  
  public void a(boolean paramBoolean)
  {
    this.n = paramBoolean;
  }
  
  public boolean d()
  {
    return this.m;
  }
  
  public void b(boolean paramBoolean)
  {
    this.m = paramBoolean;
  }
  
  public boolean e()
  {
    return this.q;
  }
  
  public void c(boolean paramBoolean)
  {
    this.q = paramBoolean;
  }
  
  public void d(boolean paramBoolean)
  {
    this.k = paramBoolean;
  }
  
  public void e(boolean paramBoolean)
  {
    this.j = paramBoolean;
  }
  
  public boolean f()
  {
    return this.k;
  }
  
  public boolean g()
  {
    return this.j;
  }
  
  public void f(boolean paramBoolean)
  {
    this.o = paramBoolean;
  }
  
  public void g(boolean paramBoolean)
  {
    this.p = paramBoolean;
  }
  
  public boolean h()
  {
    return this.o;
  }
  
  public boolean i()
  {
    return this.p;
  }
  
  public void a(Object paramObject)
  {
    this.r = paramObject;
  }
  
  public Object j()
  {
    return this.r;
  }
  
  public boolean k()
  {
    return this.w;
  }
  
  public void h(boolean paramBoolean)
  {
    this.w = paramBoolean;
  }
  
  public boolean canLayout(a.f.o paramo)
  {
    if (paramo.c("y.layout.labeling.ABSTRACT_LABELING_ALGORITHM_NODE_SIZE_CHECKED_DPKEY") == null) {
      try
      {
        c(paramo);
      }
      catch (IllegalArgumentException localIllegalArgumentException)
      {
        return false;
      }
    }
    if ((B != 0) || (a() != null)) {
      return a().canLayout(paramo);
    }
    return true;
  }
  
  public void doLayout(a.f.o paramo)
  {
    if (B == 0) {
      if (a() != null) {
        a().doLayout(paramo);
      }
    }
    d(paramo);
  }
  
  private void c(a.f.o paramo)
  {
    a(paramo, paramo);
  }
  
  private void a(a.c.t paramt, dc paramdc)
  {
    int i2 = B;
    int i1 = A;
    a.c.k localk = paramt.c(a.f.c.i.c);
    if ((i2 != 0) || (localk == null)) {
      localk = q.a(Boolean.FALSE);
    }
    Iterator localIterator = paramt.a();
    label105:
    do
    {
      Object localObject;
      do
      {
        if (!localIterator.hasNext()) {
          return;
        }
        localObject = localIterator.next();
        if (i2 != 0) {
          break label105;
        }
        if (localk.getBool(localObject)) {
          break;
        }
        a(paramdc, localObject);
        if (i2 != 0) {
          break label105;
        }
      } while (i1 == 0);
      b(paramdc, localObject);
    } while (i1 == 0);
  }
  
  protected void a(dc paramdc, Object paramObject)
    throws IllegalArgumentException
  {
    zc localzc = paramdc.d(paramObject);
    if ((B != 0) || ((localzc.c() == 0.0D) || (localzc.d() == 0.0D))) {
      throw new IllegalArgumentException("Graph contains nodes with zero width/height. Please enlarge those nodes manually or by using LayoutStage y.layout.MinNodeSizeStage.");
    }
  }
  
  protected void b(dc paramdc, Object paramObject)
    throws IllegalArgumentException
  {
    zc localzc = paramdc.d(paramObject);
    if ((B != 0) || ((localzc.c() == 0.0D) || (localzc.d() == 0.0D))) {
      throw new IllegalArgumentException("Graph contains group nodes with zero width/height. Please enlarge those nodes manually or by using LayoutStage y.layout.MinNodeSizeStage.");
    }
  }
  
  public void d(a.f.o paramo)
  {
    a(paramo, this.r);
  }
  
  public void a(a.f.o paramo, Object paramObject)
  {
    a(paramo, paramo.c(paramObject));
  }
  
  private void a(a.f.o paramo, a.c.k paramk)
  {
    int i1 = B;
    if (i1 == 0) {
      if (paramo.c("y.layout.labeling.ABSTRACT_LABELING_ALGORITHM_NODE_SIZE_CHECKED_DPKEY") == null) {
        c(paramo);
      }
    }
    try
    {
      if (paramo.c(a.f.c.i.c) != null) {
        this.t = new a.f.c.h(paramo);
      }
      g[] arrayOfg = b(paramo, paramk);
      e(paramo, arrayOfg);
      a(arrayOfg);
      if ((i1 != 0) || (this.m)) {
        a(paramo, paramk, arrayOfg.length);
      }
    }
    finally
    {
      if ((i1 != 0) || (this.t != null))
      {
        this.t.e();
        this.t = null;
      }
    }
  }
  
  public void a(a.f.o paramo, z paramz1, z paramz2)
  {
    int i2 = B;
    int i1 = A;
    HashMap localHashMap = new HashMap();
    Object localObject1 = new Object();
    Object localObject2 = paramz1.h();
    Object localObject3;
    do
    {
      do
      {
        if (!((a.c.y)localObject2).e()) {
          break;
        }
        localObject3 = (xc)((a.c.y)localObject2).j();
        localHashMap.put(localObject3, localObject1);
        ((a.c.y)localObject2).f();
        if (i2 != 0) {
          break label106;
        }
        if (i1 != 0) {
          break label99;
        }
      } while (i1 == 0);
    } while (i2 != 0);
    localObject2 = paramz2.h();
    label99:
    label106:
    if (((a.c.y)localObject2).e()) {}
    while (i2 != 0)
    {
      localObject3 = (wb)((a.c.y)localObject2).j();
      localHashMap.put(localObject3, localObject1);
      ((a.c.y)localObject2).f();
      if (i1 == 0) {
        break;
      }
    }
    localObject2 = new p()
    {
      private final HashMap val$h;
      
      public boolean getBool(Object paramAnonymousObject)
      {
        return this.val$h.get(paramAnonymousObject) != null;
      }
    };
    a(paramo, (a.c.k)localObject2);
  }
  
  void a(a.f.o paramo, a.c.k paramk, int paramInt)
  {
    int i3 = B;
    int i2 = A;
    k localk = new k();
    int i1 = paramo.k() + paramo.m() + paramInt;
    if (i3 == 0)
    {
      if (i1 > 5000)
      {
        localk.c(20.0D);
        if (i3 != 0) {
          return;
        }
        if (i2 == 0) {
          break label102;
        }
      }
      if (i3 != 0) {}
    }
    else
    {
      if (i1 <= 1000) {
        break label94;
      }
      localk.c(10.0D);
      if (i3 != 0) {
        return;
      }
    }
    if (i2 != 0) {
      label94:
      localk.c(5.0D);
    }
    label102:
    localk.b(35.0D);
    localk.a(5.0D);
    localk.b(true);
    localk.d(true);
    localk.a(false);
    localk.a(paramo, paramk);
  }
  
  private static boolean a(a.d.t paramt, xc paramxc)
  {
    int i1 = B;
    if ((i1 != 0) || (a.d.o.a(new a.d.o(paramt), paramxc.d(), 0.001D))) {
      if (i1 != 0) {}
    }
    return !a(paramxc.a());
  }
  
  private static boolean a(yc paramyc)
  {
    int i3 = B;
    int i2 = A;
    if (i3 == 0) {
      if ((paramyc instanceof cc)) {
        return true;
      }
    }
    int i1 = 0;
    do
    {
      if (i1 >= x.length) {
        break;
      }
      Object localObject = paramyc.a(x[i1], y);
      a.d.o localo = paramyc.a(x[i1].f(), y, localObject);
      if (i2 != 0) {
        break label97;
      }
      if (!a.d.o.a(x[i1], localo, 1.0D)) {
        return false;
      }
      i1++;
    } while (i2 == 0);
    label97:
    return true;
  }
  
  private g[] b(a.f.o paramo, a.c.k paramk)
  {
    int i5 = B;
    int i4 = A;
    a.c.k localk = paramo.c(g);
    g[] arrayOfg = new g[e(paramo)];
    int i1 = 0;
    Object localObject1 = paramo.v();
    Object localObject2;
    Object localObject3;
    int i3;
    label177:
    label180:
    Object localObject4;
    label260:
    do
    {
      if (!((w)localObject1).e()) {
        break;
      }
      localObject2 = ((w)localObject1).d();
      localObject3 = paramo.v((e)localObject2);
      if (i4 != 0) {
        break label278;
      }
      xc[] arrayOfxc = paramo.l((e)localObject2);
      i3 = 0;
      do
      {
        do
        {
          if (i3 >= arrayOfxc.length) {
            break label260;
          }
          arrayOfg[i1] = new i(i1, arrayOfxc[i3]);
          if (i4 != 0) {
            break;
          }
          if (this.o) {
            if ((i5 != 0) || (!this.n))
            {
              if (i5 != 0) {
                break label177;
              }
              if (a((a.d.t)localObject3, arrayOfxc[i3])) {}
            }
            else
            {
              if ((i5 == 0) && (paramk == null)) {
                break label180;
              }
              if (i5 != 0) {
                break label177;
              }
            }
          }
          boolean bool = !paramk.getBool(arrayOfxc[i3]);
          arrayOfg[i1].a(bool);
          if (i5 == 0) {}
          localObject4 = localk == null ? null : (yc)localk.get(arrayOfxc[i3]);
          z localz = j.a(paramo, (e)localObject2, arrayOfxc[i3], (yc)localObject4, bool);
          arrayOfg[i1].a(localz);
          i3++;
          i1++;
        } while (i4 == 0);
        ((w)localObject1).f();
      } while (i5 != 0);
    } while (i4 == 0);
    label278:
    localObject1 = paramo.w();
    label391:
    label394:
    label482:
    do
    {
      if (!((a.c.m)localObject1).e()) {
        break;
      }
      localObject2 = ((a.c.m)localObject1).a();
      localObject3 = paramo.k((d)localObject2);
      if ((i5 == 0) && (i4 != 0)) {
        break label518;
      }
      int i2 = 0;
      do
      {
        do
        {
          if (i2 >= localObject3.length) {
            break label482;
          }
          arrayOfg[i1] = new h(i1, localObject3[i2]);
          if (i4 != 0) {
            break;
          }
          if (this.p)
          {
            if ((i5 == 0) && (paramk == null)) {
              break label394;
            }
            if (i5 != 0) {
              break label391;
            }
          }
          i3 = !paramk.getBool(localObject3[i2]) ? 1 : 0;
          arrayOfg[i1].a(i3);
          if (i5 == 0) {}
          xb localxb = localk == null ? null : (xb)localk.get(localObject3[i2]);
          localObject4 = f.a(paramo, (d)localObject2, localObject3[i2], localxb, i3, this.q, this.w);
          arrayOfg[i1].a((z)localObject4);
          i2++;
          i1++;
        } while (i4 == 0);
        ((a.c.m)localObject1).f();
      } while (i5 != 0);
    } while (i4 == 0);
    a(paramo, arrayOfg);
    if (i5 == 0) {
      c(paramo, arrayOfg);
    }
    label518:
    return arrayOfg;
  }
  
  void a(a.f.o paramo, g[] paramArrayOfg)
  {
    int i3 = B;
    int i2 = A;
    z localz1 = new z();
    w localw = paramo.v();
    do
    {
      while (i2 == 0)
      {
        if (!localw.e()) {
          break;
        }
        if (i3 == 0)
        {
          if (i2 != 0) {
            break label92;
          }
          localz1.add(new e_(paramo.v(localw.d()), localw.d()));
          localw.f();
        }
      }
    } while (i3 != 0);
    label92:
    int i1 = 0;
    z localz2;
    Object localObject;
    do
    {
      if (i1 >= paramArrayOfg.length) {
        break;
      }
      localz2 = paramArrayOfg[i1].b();
      if (i3 != 0) {
        break label205;
      }
      if (i2 != 0) {
        break label190;
      }
      localObject = localz2.h();
      if (((a.c.y)localObject).e())
      {
        localz1.add(((a.c.y)localObject).j());
        ((a.c.y)localObject).f();
      }
      for (;;)
      {
        if (i3 == 0) {
          if (i2 == 0)
          {
            if (i2 == 0) {
              break;
            }
            if (i3 != 0) {
              continue;
            }
            i1++;
          }
        }
      }
    } while (i2 == 0);
    if (i3 == 0) {
      label190:
      a.d.m.a(localz1, new b_(paramo, this.t));
    }
    label205:
    if ((i3 != 0) || (this.k))
    {
      i1 = 0;
      do
      {
        do
        {
          if (i1 >= paramArrayOfg.length) {
            break;
          }
          localz2 = paramArrayOfg[i1].b();
          localObject = localz2.f();
          do
          {
            if (localObject == null) {
              break label293;
            }
            fc localfc = (fc)((a.c.v)localObject).c();
            if (i2 != 0) {
              break;
            }
            if (localfc.n() > 0.0D) {
              localz2.h((a.c.v)localObject);
            }
            localObject = ((a.c.v)localObject).a();
          } while (i2 == 0);
          i1++;
        } while (i3 != 0);
      } while (i2 == 0);
    }
    label293:
  }
  
  void c(a.f.o paramo, g[] paramArrayOfg)
  {
    int i4 = B;
    int i3 = A;
    z localz = new z();
    int i1 = 0;
    Object localObject1;
    Object localObject2;
    do
    {
      if (i1 >= paramArrayOfg.length) {
        break;
      }
      localObject1 = paramArrayOfg[i1].b();
      if (i3 != 0) {
        break label290;
      }
      localObject2 = ((z)localObject1).h();
      if (((a.c.y)localObject2).e())
      {
        localz.add(((a.c.y)localObject2).j());
        ((a.c.y)localObject2).f();
      }
      for (;;)
      {
        if (i4 == 0) {
          if (i3 == 0)
          {
            if (i3 == 0) {
              break;
            }
            if (i4 != 0) {
              continue;
            }
            i1++;
          }
        }
      }
    } while (i3 == 0);
    Object localObject3;
    label231:
    label233:
    label236:
    int i2;
    if (i4 == 0)
    {
      a.c.m localm = paramo.w();
      do
      {
        do
        {
          if (!localm.e()) {
            break label236;
          }
          localObject1 = wc.e(paramo, localm.a());
          if (i4 != 0) {
            break label261;
          }
          if (i3 != 0) {
            break label257;
          }
          localObject2 = ((a.d.y)localObject1).l();
          do
          {
            if (!((a.d.v)localObject2).e()) {
              break;
            }
            localObject3 = ((a.d.v)localObject2).a();
            localz.add(new d_((n)localObject3, localm.a()));
            ((a.d.v)localObject2).f();
            if (i4 != 0) {
              break label233;
            }
            if (i3 != 0) {
              break label231;
            }
          } while (i3 == 0);
        } while (i4 != 0);
        localm.f();
      } while (i3 == 0);
      if (i4 == 0) {
        a.d.m.a(localz, new a_(paramo, this.l));
      }
      label257:
      label261:
      if ((i4 != 0) || (this.j)) {
        i2 = 0;
      }
    }
    else
    {
      label290:
      label345:
      do
      {
        do
        {
          if (i2 >= paramArrayOfg.length) {
            break;
          }
          localObject1 = paramArrayOfg[i2].b();
          localObject2 = ((z)localObject1).f();
          do
          {
            if (localObject2 == null) {
              break label345;
            }
            localObject3 = (fc)((a.c.v)localObject2).c();
            if (i3 != 0) {
              break;
            }
            if (((fc)localObject3).o() > 0.0D) {
              ((z)localObject1).h((a.c.v)localObject2);
            }
            localObject2 = ((a.c.v)localObject2).a();
          } while (i3 == 0);
          i2++;
        } while (i4 != 0);
      } while (i3 == 0);
    }
  }
  
  private static int e(a.f.o paramo)
  {
    int i3 = B;
    int i2 = A;
    int i1 = 0;
    Object localObject;
    do
    {
      localObject = paramo.v();
      while (i2 == 0)
      {
        if (!((w)localObject).e()) {
          break;
        }
        i1 += paramo.l(((w)localObject).d()).length;
        ((w)localObject).f();
      }
    } while (i3 != 0);
    do
    {
      localObject = paramo.w();
      while (i2 == 0)
      {
        if (!((a.c.m)localObject).e()) {
          break;
        }
        if (i3 == 0)
        {
          if (i2 != 0) {
            break label107;
          }
          i1 += paramo.k(((a.c.m)localObject).a()).length;
          ((a.c.m)localObject).f();
        }
      }
    } while (i3 != 0);
    label107:
    return i1;
  }
  
  public void a(gd paramgd)
  {
    int i1 = B;
    if (i1 == 0)
    {
      this.i = paramgd;
      if (paramgd == null)
      {
        if (i1 != 0) {
          break label34;
        }
        this.s = false;
        if (A == 0) {
          return;
        }
      }
    }
    label34:
    this.s = true;
  }
  
  public double a(fc paramfc)
  {
    int i1 = B;
    double d = 0.0D;
    if (i1 == 0) {
      if (this.i != null) {
        return this.i.a(paramfc);
      }
    }
    Object localObject = paramfc.q();
    if ((i1 != 0) || ((localObject instanceof kd)))
    {
      kd.a_ locala_ = (kd.a_)localObject;
      if (i1 != 0) {
        break label89;
      }
      d = 1.0D - Math.abs((0.5D - locala_.e()) * 2.0D);
      if (A == 0) {}
    }
    else
    {
      d = 1.0D;
    }
    label89:
    return d;
  }
  
  abstract void e(a.f.o paramo, g[] paramArrayOfg);
  
  public z l()
  {
    return this.u;
  }
  
  public void i(boolean paramBoolean)
  {
    this.v = paramBoolean;
  }
  
  public boolean m()
  {
    return this.v;
  }
  
  private void a(g[] paramArrayOfg)
  {
    int i3 = B;
    int i2 = A;
    if (i3 == 0) {
      if (!this.v) {
        return;
      }
    }
    if (i3 == 0) {
      if (this.u == null)
      {
        this.u = new z();
        if (i3 != 0) {
          break label64;
        }
        if (i2 == 0) {
          break label63;
        }
      }
    }
    this.u.clear();
    label63:
    label64:
    int i1 = 0;
    do
    {
      if (i1 >= paramArrayOfg.length) {
        break;
      }
      z localz = paramArrayOfg[i1].b();
      a.c.y localy = localz.h();
      if (localy.e())
      {
        this.u.add(localy.j());
        localy.f();
      }
      for (;;)
      {
        if (i3 == 0) {
          if (i2 == 0)
          {
            if (i2 == 0) {
              break;
            }
            if (i3 != 0) {
              continue;
            }
            i1++;
          }
        }
      }
    } while (i2 == 0);
  }
  
  public boolean n()
  {
    return this.l;
  }
  
  public void j(boolean paramBoolean)
  {
    this.l = paramBoolean;
  }
  
  static final class e_
    extends a.d.t
  {
    e h;
    
    public e_(a.d.t paramt, e parame)
    {
      super(paramt.e, paramt.a, paramt.b);
      this.h = parame;
    }
  }
  
  static class d_
    extends n
  {
    d k;
    
    d_(n paramn, d paramd)
    {
      super(paramn.e());
      this.k = paramd;
    }
    
    d m()
    {
      return this.k;
    }
  }
  
  static class a_
    implements m.g_
  {
    a.f.o a;
    boolean b;
    
    a_(a.f.o paramo, boolean paramBoolean)
    {
      this.b = paramBoolean;
      this.a = paramo;
    }
    
    public void a(Object paramObject1, Object paramObject2)
    {
      int i = a.B;
      fc localfc = null;
      a.d_ locald_ = null;
      if (i == 0) {
        if ((paramObject1 instanceof fc))
        {
          localfc = (fc)paramObject1;
          break label48;
        }
      }
      if ((i != 0) || ((paramObject1 instanceof a.d_))) {
        locald_ = (a.d_)paramObject1;
      }
      label48:
      if (i == 0) {
        if ((paramObject2 instanceof fc))
        {
          if (i != 0) {
            break label95;
          }
          localfc = (fc)paramObject2;
        }
      }
      if ((a.A != 0) && ((i != 0) || ((paramObject2 instanceof a.d_)))) {
        locald_ = (a.d_)paramObject2;
      }
      if (localfc != null) {
        label95:
        if (locald_ != null) {}
      } else {
        return;
      }
      if (i == 0) {
        if (this.b)
        {
          if (i != 0) {
            break label279;
          }
          if ((locald_.m() instanceof d))
          {
            d locald = locald_.m();
            a.c.k localk = this.a.c(ed.c);
            Object localObject = localk.get(locald);
            if (i == 0)
            {
              if (localObject != null)
              {
                if (i != 0) {
                  break label232;
                }
                if (localObject.equals(localk.get(this.a.a((wb)localfc.k())))) {
                  return;
                }
              }
              localk = this.a.c(ed.d);
              localObject = localk.get(locald);
            }
            label232:
            if ((i != 0) || (localObject != null))
            {
              if (i != 0) {
                break label279;
              }
              if (localObject.equals(localk.get(this.a.a((wb)localfc.k())))) {
                return;
              }
            }
          }
        }
      }
      label279:
      if (i == 0) {
        if (localfc.l())
        {
          if (i != 0) {
            break label342;
          }
          if (((localfc.k() instanceof wb)) && (this.a.a((wb)localfc.k()) == locald_.m())) {
            return;
          }
        }
      }
      if ((i != 0) || (a.d.o.a(localfc.j(), locald_, 0.001D))) {
        label342:
        localfc.c(1.0D);
      }
    }
  }
  
  static class b_
    implements m.g_
  {
    a.f.c.h a;
    a.f.o b;
    
    public b_(a.f.o paramo, a.f.c.h paramh)
    {
      this.a = paramh;
      this.b = paramo;
    }
    
    public void a(Object paramObject1, Object paramObject2)
    {
      int j = a.B;
      int i = a.A;
      fc localfc = null;
      e locale1 = null;
      if (j == 0) {
        if ((paramObject1 instanceof fc))
        {
          localfc = (fc)paramObject1;
          break label56;
        }
      }
      if ((j != 0) || ((paramObject1 instanceof a.e_))) {
        locale1 = ((a.e_)paramObject1).h;
      }
      label56:
      if (j == 0) {
        if ((paramObject2 instanceof fc))
        {
          if (j != 0) {
            break label105;
          }
          localfc = (fc)paramObject2;
        }
      }
      if ((i != 0) && ((j != 0) || ((paramObject2 instanceof a.e_)))) {
        locale1 = ((a.e_)paramObject2).h;
      }
      if (localfc != null) {
        label105:
        if (locale1 != null)
        {
          if (j != 0) {
            break label145;
          }
          if (a.d.o.a(localfc.j(), this.b.v(locale1), 0.001D)) {
            break label141;
          }
        }
      }
      return;
      label141:
      label145:
      Object localObject1;
      Object localObject2;
      Object localObject3;
      Object localObject4;
      if (j == 0)
      {
        if ((localfc instanceof hc))
        {
          localObject1 = (hc)localfc;
          if (((hc)localObject1).l()) {
            return;
          }
          if (((j == 0) && ((this.a != null) && (j != 0))) || (this.a.e(locale1)))
          {
            localObject2 = this.b.d(locale1);
            localObject3 = ((hc)localObject1).a();
            localObject4 = this.b.a((xc)((hc)localObject1).k());
            do
            {
              if (localObject4 == null) {
                break;
              }
              if (j == 0) {
                if (localObject4 == locale1)
                {
                  if (j != 0) {
                    continue;
                  }
                  if (((zc)localObject2).a() <= ((a.d.t)localObject3).d())
                  {
                    if (j != 0) {
                      continue;
                    }
                    if (((zc)localObject2).b() <= ((a.d.t)localObject3).e())
                    {
                      if (j != 0) {
                        continue;
                      }
                      if (((zc)localObject2).a() + ((zc)localObject2).c() >= ((a.d.t)localObject3).d() + ((a.d.t)localObject3).b())
                      {
                        if (j != 0) {
                          continue;
                        }
                        if (((zc)localObject2).b() + ((zc)localObject2).d() >= ((a.d.t)localObject3).e() + ((a.d.t)localObject3).c()) {
                          return;
                        }
                      }
                    }
                  }
                }
              }
              localObject4 = this.a.b((e)localObject4);
            } while (i == 0);
          }
        }
        else
        {
          if ((j != 0) || (j != 0)) {
            break label781;
          }
        }
      }
      else if ((localfc instanceof gc)) {
        if (((j != 0) || (this.a != null)) && (this.a.e(locale1)))
        {
          localObject1 = (gc)localfc;
          localObject2 = this.b.a((wb)((gc)localObject1).k());
          localObject3 = this.b.d(locale1);
          localObject4 = ((gc)localObject1).a();
          e locale2 = this.a.b(((d)localObject2).e());
          do
          {
            do
            {
              if (locale2 == null) {
                break;
              }
              if (i != 0) {
                break label648;
              }
              if (locale2 == locale1)
              {
                if (j != 0) {
                  continue;
                }
                if (((zc)localObject3).a() <= ((a.d.t)localObject4).d())
                {
                  if (j != 0) {
                    continue;
                  }
                  if (((zc)localObject3).b() <= ((a.d.t)localObject4).e())
                  {
                    if (j != 0) {
                      continue;
                    }
                    if (((zc)localObject3).a() + ((zc)localObject3).c() >= ((a.d.t)localObject4).d() + ((a.d.t)localObject4).b())
                    {
                      if (j != 0) {
                        continue;
                      }
                      if (((zc)localObject3).b() + ((zc)localObject3).d() >= ((a.d.t)localObject4).e() + ((a.d.t)localObject4).c()) {
                        return;
                      }
                    }
                  }
                }
              }
              locale2 = this.a.b(locale2);
            } while (i == 0);
          } while (j != 0);
          locale2 = this.a.b(((d)localObject2).f());
          label648:
          do
          {
            if (locale2 == null) {
              break;
            }
            if (locale2 == locale1)
            {
              if (j != 0) {
                continue;
              }
              if (((zc)localObject3).a() <= ((a.d.t)localObject4).d())
              {
                if (j != 0) {
                  continue;
                }
                if (((zc)localObject3).b() <= ((a.d.t)localObject4).e())
                {
                  if (j != 0) {
                    continue;
                  }
                  if (((zc)localObject3).a() + ((zc)localObject3).c() >= ((a.d.t)localObject4).d() + ((a.d.t)localObject4).b())
                  {
                    if (j != 0) {
                      continue;
                    }
                    if (((zc)localObject3).b() + ((zc)localObject3).d() >= ((a.d.t)localObject4).e() + ((a.d.t)localObject4).c()) {
                      return;
                    }
                  }
                }
              }
            }
            locale2 = this.a.b(locale2);
          } while (i == 0);
        }
      }
      label781:
      localfc.b(1.0D);
    }
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.f.e.a

 * JD-Core Version:    0.7.0.1

 */